<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/inc/taglib.inc" %>
<%@ include file="/WEB-INF/inc/script.inc" %>
<!DOCTYPE HTML>
<!--
	Overflow by HTML5 UP
	html5up.net | @n33co
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
	<head>
		<title>你闻讯而来，我大喜过望</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<base href="${base}">
		<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
		<link rel="stylesheet" href="assets/css/main.css" />
		<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
		<link href="css/style.css" rel="stylesheet">
		<link href="css/bootstrap.min.css" rel="stylesheet">
		<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
		<style type="text/css">
			.error{
				color: #cc5965;				
			}
			.has-success {
			    border-color: #1ab394;
			}
			.has-error {
			    border: 1px dotted #cc5965;
			}
			.success{
				color: #cc5965;				
			}
		</style>
	</head>
	<body>
			<!-- Banner -->
			<section id="banner">
				<header>
					<h2>你闻讯而来，我大喜过望。</h2>
				</header>
				<p></p>
				<footer>
					<a href="#first" class="button style2 scrolly">别戳我</a>
				</footer>
			</section>
			
			<!-- Feature 1 -->
			<article id="first" class="container box style1 right">
				<a href="#second" class="image fit"><img src="images/pic01.jpg" alt="" /></a>
				<div class="inner">
					<p>面对， 不一定最难过。 孤独， 不一定不快乐。 得到， 不一定能长久。 失去， 不一定不再拥有。 不要因为寂寞而错爱， 不要因為错爱而寂寞一生。——【徐志摩】</p>
				</div>
			</article>

			<!-- Feature 1 -->
			<article id="second" class="container box style1 right">
				<a href="#thrid" class="image fit"><img src="images/pic02.jpg" alt="" /></a>
				<div class="inner">
					<p>没有地方可以躲藏，让我尽情宣泄悲伤。 我只能潜入水中，眼泪融入水波，哭声化成了气泡，没有人看到，没有人听到， 我在幽闭的池底放纵大声哭喊。。。。。</p>
				</div>
			</article>

			<!-- Feature 2 -->
			<article id="thrid" class="container box style1 left">
				<a href="#picture" class="image fit"><img src="images/29.jpg" alt=""></a>
				<div class="inner">
					<p>"他们彼此深信，是瞬间迸发的热情让他们相遇。这样的确定是美丽的，但这样的不确定更为美丽"。</p>
				</div>
			</article>

			<!-- Portfolio -->
			<article id="picture" class="container box style2">
				<header>
					<p>Just
					for fun.</p>
				</header>
				<div class="inner gallery">
					<div class="row 0%">
						<div class="3u 12u(mobile)"><a href="images/fulls/pf1.jpg" class="image fit"><img src="images/thumbs/p1.jpg" alt="" title="I love you" /></a></div>
						<div class="3u 12u(mobile)"><a href="images/fulls/pf2.jpg" class="image fit"><img src="images/thumbs/p2.jpg" alt="" title="Je t’aime,Je t’adore" /></a></div>
						<div class="3u 12u(mobile)"><a href="images/fulls/pf3.jpg" class="image fit"><img src="images/thumbs/p3.jpg" alt="" title="Ich liebe Dich" /></a></div>
						<div class="3u 12u(mobile)"><a href="images/fulls/pf4.jpg" class="image fit"><img src="images/thumbs/p4.jpg" alt="" title="S’agapo" /></a></div>
					</div>
					<div class="row 0%">
						<div class="3u 12u(mobile)"><a href="images/fulls/pf5.jpg" class="image fit"><img src="images/thumbs/p5.jpg" alt="" title="Ani ohev otach" /></a></div>
						<div class="3u 12u(mobile)"><a href="images/fulls/pf6.jpg" class="image fit"><img src="images/thumbs/p6.jpg" alt="" title="Kimi o aishiteru Sukiyo" /></a></div>
						<div class="3u 12u(mobile)"><a href="images/fulls/pf7.jpg" class="image fit"><img src="images/thumbs/p7.jpg" alt="" title="Te amo,Tequiero" /></a></div>
						<div class="3u 12u(mobile)"><a href="images/fulls/pf8.jpg" class="image fit"><img src="images/thumbs/p8.jpg" alt="" title="求扑倒~~~~(>_<)~~~~" /></a></div>
					</div>
				</div>
			</article>

			<!-- Contact -->
			<article class="container box style3">
				<header>
					<h2>脚印</h2>
					<p>么么砸.</p>
				</header>
				<form id="message" method="post" action="#">
					<div class="row 50%">
						<div class="6u 12u$(mobile)"><input type="text" class="text" name="name" placeholder="大名" /></div>
						<div class="6u$ 12u$(mobile)"><input type="text" class="text" name="email" placeholder="邮箱" /></div>
						<div class="6u 12u$(mobile)"><input type="text" class="text" name="wechat" placeholder="微信" /></div>
						<div class="6u$ 12u$(mobile)"><input type="text" class="text" name="mobile" placeholder="手机号" /></div>
						<div class="12u$">
							<textarea name="content" placeholder="对我想说的话"></textarea>
						</div>
						<div class="12u$">
							<ul class="actions">
								<li><input id='submit' type="submit" value="点下咯"></input></li>
							</ul>
						</div>
					</div>
				</form>
			</article>
		<section id="footer">
			<ul class="icons">
				<li><a href="#" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
				<li><a href="#" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
				<li><a href="#" class="icon fa-google-plus"><span class="label">Google+</span></a></li>
				<li><a href="#" class="icon fa-pinterest"><span class="label">Pinterest</span></a></li>
				<li><a href="#" class="icon fa-dribbble"><span class="label">Dribbble</span></a></li>
				<li><a href="#" class="icon fa-linkedin"><span class="label">LinkedIn</span></a></li>
			</ul>
			<div class="copyright">
				<ul class="menu">
					<li>&copy; Untitled. All rights reserved.</li><li>Design: <a href="${ctx}/user/login">yuqibin</a></li>
				</ul>
			</div>
		</section>

		<!-- Scripts -->
		<script src="assets/js/jquery.min.js"></script>
		<script src="assets/js/jquery.scrolly.min.js"></script>
		<script src="assets/js/jquery.poptrox.min.js"></script>
		<script src="assets/js/skel.min.js"></script>
		<script src="assets/js/util.js"></script>
		<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
		<script src="assets/js/main.js"></script>
		<script src="js/jquery-2.1.1.js"></script>
		<script src="js/jquery.serialize-object.min.js" type="text/javascript"></script>
		<script src="js/validate/jquery.validate.min.js" type="text/javascript"></script>
		<script src="js/validate/jquery.validate.messages-zh_CN.js" type="text/javascript"></script>
		<script src="js/bootstrap.min.js"></script>
		<script src="js/bootbox/bootbox.min.js" type="text/javascript"></script>
		<script src='js/index-module.js'></script>
		<script>
		$(document).ready(function() {
			IndexModule.init();
		});
	</script>
	<script>
	$(function(){
	    var lujing=$("#logimg").attr("src");  //分享中带有的图片
	    var url=window.location.href;         //分享页的地址
	    var title=document.title;             //分享内容的标题
	    weixin("http://m.e-iot.com/images/bg.jpg",url,title);
	 });


     function weixin(a,b,c){ 
		document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
			window.shareData = {
			"imgUrl": ctx+'images/thumbs/p1.jpg',
			"timeLineLink": window.location.href,
			"sendFriendLink": window.location.href,
			"weiboLink": window.location.href,
			"tTitle": '个人主页',
			"tContent": "一阵清新",
			"fTitle": '个人主页',
			"fContent": "一阵清新",
			"wContent": "一阵清新"
			};
			
			
			// 发送给好友
			WeixinJSBridge.on('menu:share:appmessage', function (argv) {
			WeixinJSBridge.invoke('sendAppMessage', {
			"img_url": window.shareData.imgUrl,
			"img_width": "640",
			"img_height": "640",
			"link": window.shareData.sendFriendLink,
			"desc": window.shareData.fContent,
			"title": window.shareData.fTitle
			}, function (res) {
			_report('send_msg', '111111');
			})
			});
			
			
			// 分享到朋友圈
			WeixinJSBridge.on('menu:share:timeline', function (argv) {
			WeixinJSBridge.invoke('shareTimeline', {
			"img_url": window.shareData.imgUrl,
			"img_width": "640",
			"img_height": "640",
			"link": window.shareData.timeLineLink,
			"desc": window.shareData.tContent,
			"title": window.shareData.tTitle
			}, function (res) {
			_report('timeline', res.err_msg);
			});
			});
			
			
			// 分享到微博
			WeixinJSBridge.on('menu:share:weibo', function (argv) {
			WeixinJSBridge.invoke('shareWeibo', {
			"content": window.shareData.wContent,
			"url": window.shareData.weiboLink
			}, function (res) {
			_report('weibo', res.err_msg);
			});
			});
			}, false)
         }
         	</script>
	</body>
	
</html>